/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    FangYongliang
 * 创建时间:    2023-11-23
 */
package org.jeecg.modules.business.warehouse.entity;

import lombok.Data;
import lombok.Getter;
import org.jeecg.common.constant.enums.MessageTypeEnum;
import org.jeecg.common.system.annotation.EnumDict;
import org.jeecg.common.system.vo.DictModel;

import java.util.ArrayList;
import java.util.List;

/**
 * //TODO 【请填写类描述】
 *
 * @author FangYongliang
 * @version 1.0.0
 * @since 2023-11-23
 */
@Getter
//@EnumDict
public enum InspectStatusEnum {
    NOT_INSPECT("不需检验","1"),
    WAIT_INSPECT("待检验","2"),
    INSPECTED("已检验","3")
    ;
    private String name;
    private String value;

    InspectStatusEnum(String name, String value) {
        this.name = name;
        this.value = value;
    }
//
//    public static List<DictModel> getDictList(){
//        List<DictModel> list = new ArrayList<>();
//        DictModel dictModel = null;
//        for(InspectStatusEnum e: InspectStatusEnum.values()){
//            dictModel = new DictModel();
//            dictModel.setValue(e.get);
//            dictModel.setText(e.getNote());
//            list.add(dictModel);
//        }
//        return list;
//    }
}
